﻿using IService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;

namespace Service
{
    public class UserService : IUserService
    {
        private MongoHelper<User> helper;
        public UserService()
        {
            helper = new MongoHelper<User>();
        }

        public bool Insert(User user)
        {
            bool result = helper.Insert(user);
            return result;
        }
    }
}
